package com.smiier.skin.net;

import android.content.Context;
import cn.o.app.net.NetTask;

import com.smiier.skin.constant.Constant;
import com.smiier.skin.net.MRUserRegist.MRUserRegistRequest;
import com.smiier.skin.net.MRUserRegist.MRUserRegistResponse;
import com.smiier.skin.util.GlobalSettings;

/**
 * 邀请注册
 * 
 * @author 杨文华
 * 
 */
public class MRUserRegist extends
		NetTask<MRUserRegistRequest, MRUserRegistResponse> {

	public static class MRUserRegistRequest extends ORequest {
		public long uid;
		public String mobile;
		public String token;
		public String appname = Constant.APP_NAME;
	}

	public static class MRUserRegistResponse extends OResponse {

	}

	@Override
	public void setContext(Context context) {
		super.setContext(context);
		mUrl = GlobalSettings.SERVER_URL + GlobalSettings.SERVER_URL_JOIN
				+ "?api=MR.User.Regist";
		mRequestMethod = METHOD_GET;
	}
}
